#ifndef _CONTENT_H
#define _CONTENT_H

#include "code_retour.h"

#define content         "Content-Type: " 

#define content_html    "text/html\n" 
#define content_plain   "text/plain\n" 
#define content_rich    "text/richtext\n"
#define content_pdf     "application/pdf\n" 
#define content_ps      "application/postscript\n" 

#define content_jpeg    "image/jpeg\n" 
#define content_gif     "image/gif\n" 
#define content_png     "image/png\n" 
#define content_mpeg    "video/mpeg\n"


#define authenticate   "WWW-Authenticate: Basic realm=\"serveur de test\"\n" 
#define acceptgzip     "Content-Encoding: gzip\n"

extern char *get_content_type(char *url);

#endif
